package com.xinlu.jjsd.dao;

import java.util.List;

import com.xinlu.derek.common.BaseDao;
import com.xinlu.persistence.WcJjsd;
import com.xinlu.persistence.WcSjgl;

public class WcJjsdDao extends BaseDao {

	/**
	 * 获取五彩奖金设定列表
	 * 
	 * @return
	 */
	public WcJjsd LoadWcJjsds(String ms) {

		String hql = "from WcJjsd where wcms = ?";
		
		List list = super.find(hql, ms);
		
		return list != null && list.size() > 0 ? (WcJjsd) list.get(0) : null;
	}
}
